powered by
distribution(object)<-value
object
distribution<--methods
x=new("cpt") # new cpt object distribution(x)<-"normal" # replaces the current distribution slot of x with "normal"
Run the code above in your browser using DataLab